package com.magist.manage.copyrights.service;

import com.github.pagehelper.PageInfo;
import com.magist.core.entity.Page;
import com.magist.core.service.BaseService;
import tk.mybatis.mapper.entity.Example;

import  com.magist.manage.copyrights.entity.AppendixProject;

import java.util.List;

public interface AppendixProjectService extends BaseService<AppendixProject>{

    /**
     * 分页方法
     * @param example
     * @param page
     * @return
     */
    PageInfo<AppendixProject> page(Example example, Page page);

    /**
     * 通过项目id查询
     * @param projectId
     * @return
     */
    List<AppendixProject> findByProjectId(String projectId);
}